@charset "utf-8";

/* 你自己的样式 */
.btnguid {
    position: absolute;
    right: 15px;
}

.btnguid:hover {
    background-color: #5a98de;
}

.inputparentid {
    width: 100px;
    line-height: 30px;
    padding-left: 20px;
    border: 1px solid #5eb95e;
    border-radius: 4px;
}

.btnsearch {
    height: 30px;
    line-height: 30px;
    border-radius: 4px;
    cursor: pointer;
    width: 70px;
    background-color: #5eb95e;
    color: white;
    border: 0;
}

.btnsearch:hover {
    background-color: #c81623;
}

.menutype {
    display: inline-block;
    vertical-align: middle;
}

.menutype li {
    float: left;
    line-height: 30px;
    margin-left: 20px;
    border: 1px solid #5eb95e;
    border-radius: 4px;
    cursor: pointer;
    width: 70px;
    text-align: center;
}

.menutype .selected {
    border: 1px solid #c81623;
    background-color: #c81623;
    color: white;

}

input[type=text]:read-only {
    border: none !important;
    border-bottom: 1px solid #5a98de;
}

.inputword {
    line-height: 30px;
    margin-left: 20px;
    border: 1px solid #5eb95e;
    border-radius: 4px;
    /* cursor: pointer; */
    width: 170px;
    padding-left: 10px;
    text-align: left;
}

.customtext {
    line-height: 30px;
    margin-left: 20px;
    border: 1px solid #5eb95e;
    border-radius: 4px;
    cursor: pointer;
    width: 70px;
    text-align: center;
}

.btnstyle {
    height: 30px;
    line-height: 30px;
    border-radius: 4px;
    cursor: pointer;
    width: 70px;
    background-color: #5eb95e;
    color: white;
    border: 0;
}

.btnstyle:hover {
    background-color: #c81623;
}

.btnselect {
    position: absolute;
    right: 15px;
    top: 0;
    height: 32px;
    width: 100px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #5a98de;
}

.table input[type=button] {
    padding: 2px;
    padding-left: 4px;
    padding-right: 4px;
    border: 1px solid #afafaf;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.table input[type=button]:hover {
    border: 1px solid #5eb95e;
}

input[type=number] {
    line-height: 28px;
    width: 100%;
    box-sizing: border-box;
    padding-left: 10px;
}

.btnchoose {
    position: absolute;
    height: 28px;
    line-height: 28px;
    border-radius: 4px;
    cursor: pointer;
    width: 60px;
    background-color: #3c5e3c;
    color: white;
    border: 0;
    margin-right: 10px;
    right: 1px;
    top: 1px;
}

.btnchoose:hover {
    background-color: greenyellow;
}

.btn-primary {
    position: relative;
    margin: auto;
    width: 80%;
}

textarea {

    margin: 0px;
    width: 100%;
    height: 150px;
    color: black;
    padding: 10px;
    line-height: 20px;
    box-sizing: border-box;
    border: 1px solid #666;
    border-radius: 2px;

}

select {
    line-height: 30px;
    height: 30px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
    min-width: 150px;
}

select option {
    line-height: 30px;
    font-size: 16px;
}
input:required{
    border-left:1px dashed rgb(95, 32, 32);
}
.input-text{
    -webkit-animation: all 1s;
    animation: all 1s;
}
.input-text:focus{
    border-bottom: 1px solid #5a98de;
}

.btnselectid{
    position:absolute;
    top:1px;
    right: 16px;
}

 /*switch开关*/
 .mui-switch {
    width: 60px;
    height: 30px;
    position: relative;
    border: 1px solid #dfdfdf;
    background-color: #fdfdfd;
    box-shadow: #dfdfdf 0 0 0 0 inset;
    border-radius: 30px;
    background-clip: content-box;
    display: inline-block;
    -webkit-appearance: none;
    user-select: none;
    outline: none;
    cursor: pointer;

    &::before {
        content: '';
        width: 30px;
        height: 30px;
        position: absolute;
        top: -1px;
        left: 0;
        border-radius: 30px;
        background-color: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);

        &::before {
            left: 2em;
        }
    }

    &:checked::before {
        left: 30px;
    }
}

.mui-switch-anim {
    transition: border cubic-bezier(0, 0, 0, 1) 0.4s, box-shadow cubic-bezier(0, 0, 0, 1) 0.4s;

    &::before {
        transition: left 0.3s;
    }

    &:checked {
        box-shadow: #64bd63 0 0 0 16px inset;
        background-color: #64bd63;
        transition: border ease 0.4s, box-shadow ease 0.4s, background-color ease 1.2s;

        &::before {
            transition: left 0.3s;
        }
    }
}

.btn{
    background-color: #3bb4f2;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
}
.btnmin{
    color:#f2f2f2;
    font-size: 12px;
    height: 20px;
    line-height: 10px !important;
    min-width: 40px;
}
 
.searcharea {
    position: relative;
    padding: 10px;
    margin-bottom: 10px;
    background-color: rgb(251, 251, 251);
    display: block;
    width:100%;
    min-height: 52px;

    .st,.titlearea{
        display:block;
        .sn{
            line-height: 60px;
            font-weight: bold;
            display:block;
            font-size: 18px;
            color:#555;
        }
        .idesc{
            line-height: 30px;
            font-size: 12px;
            display:block;
            color:#555;
        }
    }

    .btnadd {
        height: 30px;
        outline:none;
        border:1px solid #e1dfdf;
        text-align: center;
        line-height: 1.5;
        min-width:30px;
        flex:0 !important;
        font-size: 12px;
    }

    span{
        line-height: 30px;
        padding-left:10px;
        color: #888;
    }

    select {
        height: 30px;
        line-height: 30px;
        text-align: left;
        margin-bottom: 14px;
        outline: none;
        line-height: 30px;
        min-width: 150px;
        border: 1px solid #999;
        border-radius: 4px;
        max-width: 320px;
    }

    >label{
        display:inline-block;
        margin-bottom: 16px;
        input[type=number],input[type=text]{
            margin-bottom: 0px !important;
        }
    }

    .dropselect{
        display:flex;
        max-width: 400px;
        margin-bottom: 14px;

        label{
            display:inline-block;
            padding:0 6px 0 0;
            margin-right: 0;
            margin-bottom: 0;
            text-align: right;
            flex: auto;
            max-width: 60px;
            line-height: 28px;
            color:#555;
            &::after{
                content: ':';
                color:#444;
            }
        }
        input[type=text],input[type=number],select{
            margin-right: 0;
            margin-bottom: 0;
            min-width: 150px;
            flex: 1;
        }
    }

    .aflush {
        position: absolute;
        right: 6px;
        background: #5eb95e;
        transition: all 0.5s;
        border-radius: 4px;
        width: 40px;
        text-align: center;
        color: white;
        font-size: 18px;
        display: inline-block;
        text-decoration: none;
        outline: none;
        bottom: 4px;
        margin-right: 0;
        margin-bottom: 0;
        &:focus{
            color: #3bb4f2;
            background-color: #3c5e3c;
        }
        i{
            margin:0;
        }
    }

    input[type=text],
    input[type=number] {
        outline: none;
        border: 1px solid #999;
        border-radius: 4px;
        line-height: 30px;
        min-width: 200px;
        padding-left: 6px;
        transition: all 0.5s;
        height: 30px;
        max-width:480px;
        margin-bottom: 14px;
    }

    .timetool {
        display: inline-block;
        border: 1px solid #999;
        border-radius: 4px;
        min-width: 380px;
        max-width: 400px;
        height: 34px;
        margin-bottom: 14px;
        span {
            margin-right: 0;
            margin-bottom: 0;
            margin-right: 0;
            flex: none;
        }

        input[type=text] {
            margin-right: 0px;
            border: none;
            margin-bottom: 0;
            margin-right: 0;
            height: 30px;
            flex: none;
            min-width: 130px;
            max-width: 130px;
        }

        select {
            width: 80px !important;
            min-width: 80px;
            border: none;
            margin-bottom: 0;
            margin-right: 0;
            flex: none;
        }
    }

    .timearea{
        height: 32px;
        select{
            margin-bottom: 0px !important;
        }
        input[type=text]{
            margin-bottom: 0px !important;
            min-width: 220px;
        }
    }

    .ataprefresh{
        position:absolute;
        right:12px;
        top:4px;
        text-decoration: none;
        font-size: 30px;
    }
}

.form,.form-horizontal,.newform{
    position: relative;
    box-sizing: border-box;
    padding:20px 20px 50px 20px;

    .form-label{
        text-align: left !important;
        font-size: 12px;
        color:#888;
        line-height: 24px;
    }

    input[type=text],input[type=number]{
        width:100%;
        line-height: 30px;
        padding-left: 10px;
        border-radius: 4px;
        box-sizing: border-box;
        border:1px solid #777;
        &:active{
            border: 1px solid #666;
        }
    }
    select {
        box-sizing: border-box;
        min-width: 200px;
        line-height: 30px;
        height: 30px;
        width:100%;
        text-align: left;
        border-radius: 4px;
        padding-left: 10px !important;
    }
    textarea{
        box-sizing: border-box;
        border-radius: 4px;
        padding:10px;
        width:100%;
        line-height: 20px;
        font-size: 14px;
    }

    .actiona{
        position:absolute;
        right:4px;
        font-size: 12px;
        color:#3bb4f2;
        top:7px;
    }
    .actionb{
        right: 60px;
    }

    .btn-primary{
        width:100%;
        line-height: 38px;
        height: 38px;
        &:active{
            background-color: #3bb4f2;
            color:#f1f1f1;
        }
    }
    .spanlen{
        font-size: 12px;
        position:absolute;
        right:10px;
        top:4px;
        color:#888;
    }

    .ataprefresh{
        position:absolute;
        right:12px;
        top:4px;
        text-decoration: none;
        font-size: 30px;
    }
}

*::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 10px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

*::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 0;
    /* box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2); */
    background: #e9e9e9;
}

*::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    /* box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2); */
    border-radius: 0;
    border: 1px solid #e1e1e1;
    background: transparent;
}